package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Room;
import cn.wolfcode.trip.base.query.QueryObject;
import cn.wolfcode.trip.base.query.RoomQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;


public interface IRoomService {


    PageInfo queryForList(RoomQuery qo);

    /**
     * 保存和修改房间
     * @param room
     */
    void saveOrUpdate(Room room);

    /**
     * 根据roomID 获取对象
     * @param roomId
     * @return
     */
    Room queryByRoomId(Long roomId);

}
